package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Employee;
import cn.wolfcode.wms.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
    void save(Employee employee,Long[] ids);
    void update(Employee employee,Long[] ids);
    void delete(Long id);
    Employee get(Long id);
    List<Employee> list();
//    分页查询
    PageInfo<Employee> query(QueryObject qo);

    void login(String username, String password);
}
